package com.example.myapplication.bean;

import java.util.List;

public class AreaDtoResponse {
    private String code;
    private List<ProvinceCityResDto> data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<ProvinceCityResDto> getData() {
        return data;
    }

    public void setData(List<ProvinceCityResDto> data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class ProvinceCityResDto{
        //cityName (string, optional),
        private String cityName;
        //citys (Array[ProvinceCityResDto], optional),
        private List<ProvinceCityResDto> citys;
        //id (integer, optional),
        private String id;
        //parentId (integer, optional)
        private String parentId;

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public List<ProvinceCityResDto> getCitys() {

            return citys;
        }

        public void setCitys(List<ProvinceCityResDto> citys) {
            this.citys = citys;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

    }
}
